<template>
  <div id="app">
    <router-view></router-view>
    <tab-bar v-show="$route.meta.showTabbar" />
  </div>
</template>

<script>
import TabBar from "@/components/tabBar";
export default {
  name: "App",
  components: {
    TabBar,
  },
  created() {
    this.$store.commit("setShop", JSON.parse(localStorage.getItem("shops")));
  },
};
</script>

<style>
@import "./style/base.css";
@import "./fonts/iconfont.css";
</style>
